package com.foreveredu.furedusys.web.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.foreveredu.furedusys.service.ISystemService;

/**
 * 控制跳转到首页index.jsp的Action
 * @author hushigang
 *
 */
public class IndexAction extends AbstractBaseDispatchAction {

	private ISystemService systemService = null;

	public ISystemService getsystemService() {
		return systemService;
	}

	public void setsystemService(ISystemService systemService) {
		this.systemService = systemService;
	}
	
	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {

		return mapping.findForward("index");
	}


}
